/*
 * @Autor: 黄旗
 * @Date: 2021-11-11 10:08:45
 */
import util from '@/libs/util'
export default {
    namespaced: true,
    state: {
        queuestatus: false,
        patient: false
    },
    getters: {
        /**
         * @description 获取肌注列表
         * */
        getqueuestatus: (state) => {
            return state.queuestatus
        },
        /**
         * @description 获取静滴列表
         * */
        getpatient: (state) => {
            return state.patient
        }
    },
    mutations: {
        /**
         * @description 设置静滴、肌注列表
         * @param {Object} state vuex state
         * @param {Array} menu menu
         */
        setQueueList (state, patient) {
            state.queuestatus = !state.queuestatus
        },
        setPatientList (state, patient) {
            state.patient = !state.patient
        }
    }
};
